<template>
  <div class="search-box">
    <div>
      <i class="iconfont icon-fangdajing"></i>
      <input type="text" placeholder="手机" />
    </div>
     <router-link to="/Goods/Information"> <em class="iconfont icon-xiaoxi"></em></router-link>
   
  </div>
</template>

<script>

export default {
  name: "Search",
  data() {
    return {};
  },
};
</script>

<style scoped>
@import url(../../assets/iconfont+/iconfont.css);
.search-box {
  height: 0.65rem;
 width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: white;
}
.search-box .iconfont {
  font-size: .2rem;
  margin-right: .1rem;
}
.search-box div {
  width: 2.8rem;
  height: 0.32rem;
  box-sizing: border-box;
 padding: 0 .1rem;
  display: flex;
  justify-content: space-between;
  border-radius: 0.2rem;
  align-items: center;

  background-color: #f7f7f7;
}
.search-box div i {
  font-size: 0.2rem;
}
.search-box input {
  flex: 1;
  height: 100%;
  border: 0;
  border-radius: 0.2rem;
  background-color: #f7f7f7;
  width: 2.55rem;
  height: 0.28rem;
}
</style>
